using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class UVDebug : MonoBehaviour
{
    void Start()
    {
        Mesh mesh = GetComponent<MeshFilter>().mesh;
        Vector3[] vertices = mesh.vertices;
        Vector2[] uvs = mesh.uv;

        for (int i = 0; i < uvs.Length; i++)
        {
            Debug.LogError($"pos:{vertices[i]} uv:{uvs[i]}");
        }
    }
}
